<header>
	<div class="header">
		<!-- 未登录状态 添加class islogin -->
		<div class="header-content" <?php if(session('member_id')): ?>  class="islogin" <?php endif; ?>>
			<div class="loginimg">
				<a href="w_index.html">
					<img src="../../kexueyuan/img/pub_logo.png">
				</a>
			</div>
			<!-- btn - 未登录 -->
			<div class="btn" id="status_false" <?php if(session('member_id')): ?> style="display: none" <?php endif; ?>>
				<div id="login" class="login">
					登录
				</div>
				<div class="register" id="open_register">
					注册
				</div>
			</div>
			<!-- info - 已登录 -->
			<div class="info" id="status_true" <?php if(!session('member_id')): ?> style="display: none" <?php endif; ?>>
				<div class="inform">
					<img class="info_img" src="../../kexueyuan/img/inform.png" />
					<i></i>
					<div class="info_pupup">
						<div style="width: 100%;max-height: 408px;overflow-y: auto;">
						<div class="system_info">
							<div class="total">
								<div class="title">
									<img class="system_img" src="../../kexueyuan/img/trumpet.png" >
									<span>系统通知</span>
								</div>
								<div class="time">2020-11-20  10:23</div>
							</div>
							<div class="message">
								<span>恭喜您已注册成功!</span>
							</div>
						</div>
						<div class="system_info">
							<div class="total">
								<div class="title">
									<img class="system_img" src="../../kexueyuan/img/trumpet.png" >
									<span>系统通知</span>
								</div>
								<div class="time">2020-11-20  10:23</div>
							</div>
							<div class="message">
								<span>恭喜您已注册成功!</span>
								<img src="../../kexueyuan/img/gray_down.png" class="showMesg">
							</div>
							<div class="messagelong">
								<span>恭喜您已注册成功!</span>
								<img src="../../kexueyuan/img/gray_up.png" class="colseMesg">
							</div>
						</div>
						<div class="system_info">
							<div class="total">
								<div class="title">
									<img class="system_img" src="../../kexueyuan/img/trumpet.png" >
									<span>系统通知</span>
								</div>
								<div class="time">2020-11-20  10:23</div>
							</div>
							<div class="message">
								<span>恭喜您已</span>
								<img src="../../kexueyuan/img/gray_down.png" class="showMesg">
							</div>
							<div class="messagelong">
								<span>恭喜您已注册成功!</span>
								<img src="../../kexueyuan/img/gray_up.png" class="colseMesg">
							</div>
						</div>
						</div>
					</div>
				</div>
				<div class="userinfo">
					<div class="username"><?php echo e($assign['member_name'], false); ?></div>
					<div class="useravatr">
						<img src="<?php echo e($assign['image'], false); ?>" />
						<div class="userinfo_list">
							<p class="title">个人中心</p>
							<a href="user">个人资料</a>
							<a href="user_uplist.html">我的上传</a>
                            <p class="exitLogin" id="loginOut">退出登录</p>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<nav>
		<div class="nav">
			<div class="navleft">
				<div class="home_img">
					<a href="index.html">
						<img src="../../kexueyuan/img/home.png">
					</a>
				</div>
				<div class="navlist">
                    <?php $__currentLoopData = $bar; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					<div class="navListitem">
						<div class="apare">
							<a href="<?php echo e($value['bar_url'], false); ?>"><?php echo e($value['bar_name'], false); ?></a>
                            <?php if($value['_child']): ?>
							<div class="subnav">
                                <?php $__currentLoopData = $value['_child']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $v): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
								<a href="<?php echo e($v['bar_url'], false); ?>"><?php echo e($v['bar_name'], false); ?></a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</div>
                            <?php endif; ?>
						</div>
                        <?php if($value['_child']): ?>
						<img class="asibing" src="../../kexueyuan/img/down_more.png" width="12" height="6" />
                        <?php endif; ?>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
				</div>
			</div>
			<div class="navright">
				<img src="../../kexueyuan/img/share.png" />
			</div>
		</div>
	</nav>
</header>
<?php /**PATH D:\wwwroot\dcat\resources\views/public/public_header.blade.php ENDPATH**/ ?>